package com.example.administrator.startproject_xmr112.service;

import com.example.administrator.startproject_xmr112.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/4/8
 */
//Retrofit-2 定义接口
public interface Weather51Service {
    @GET("GetMoreWeather")
    Call<WeatherResult> getResult(
            @Query("cityCode")String cityNumber,
            @Query("weatherType")int weatherType);

}
